Optimal. Leaf size=32 \[ \frac {2 x^2 \sin (x)}{\sqrt {\cos (x)}}+8 x \sqrt {\cos (x)}-16 E\left (\left .\frac {x}{2}\right |2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {3316, 2639} \[ \frac {2 x^2 \sin (x)}{\sqrt {\cos (x)}}+8 x \sqrt {\cos (x)}-16 E\left (\left .\frac {x}{2}\right |2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rule 3316
Rubi steps
\begin {align*} \int \left (\frac {x^2}{\cos ^{\frac {3}{2}}(x)}+x^2 \sqrt {\cos (x)}\right ) \, dx &=\int \frac {x^2}{\cos ^{\frac {3}{2}}(x)} \, dx+\int x^2 \sqrt {\cos (x)} \, dx\\ &=8 x \sqrt {\cos (x)}+\frac {2 x^2 \sin (x)}{\sqrt {\cos (x)}}-8 \int \sqrt {\cos (x)} \, dx\\ &=8 x \sqrt {\cos (x)}-16 E\left (\left .\frac {x}{2}\right |2\right )+\frac {2 x^2 \sin (x)}{\sqrt {\cos (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 29, normalized size = 0.91 \[ 2 \left (\frac {x (x \sin (x)+4 \cos (x))}{\sqrt {\cos (x)}}-8 E\left (\left .\frac {x}{2}\right |2\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \sqrt {\cos \relax (x)} + \frac {x^{2}}{\cos \relax (x)^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.26, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\cos \relax (x )^{\frac {3}{2}}}+x^{2} \left (\sqrt {\cos }\relax (x )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \sqrt {\cos \relax (x)} + \frac {x^{2}}{\cos \relax (x)^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int x^2\,\sqrt {\cos \relax (x)}+\frac {x^2}{{\cos \relax (x)}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2} \left (\cos ^{2}{\relax (x )} + 1\right )}{\cos ^{\frac {3}{2}}{\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________